Skip to content

Conversation

@artek0chumak
Copy link
Contributor

@artek0chumak artek0chumak commented Mar 21, 2025

Fixes ENG-23543

Describe your changes

This PR removes the "require" flag from the model field in the fine-tuning create command if the from_checkpoint field is set. The latter is enough to derive the model limits and settings required for fine-tuning.

@connermanuel
Copy link
Contributor

can you set both? what happens if you do? iiuc it looks like checkpoint overrides - is this correct? if so, should we make them mutually exclusive, or at least communicate this overriding to the user?

Copy link
Contributor

@connermanuel connermanuel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i was thinking of something like a mutually exclusive argparse group to enforce that exactly one arg is set, but i guess no such construct exists in click. id prefer to have both checks in the same place but nbd. thanks!

@artek0chumak artek0chumak merged commit ea39fb5 into main Mar 24, 2025
9 checks passed
@artek0chumak artek0chumak deleted the artem/fix-model-requirement branch March 24, 2025 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants